package com.org.qrtrace.Entry.request;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CheckhistoryRequest对象", description="")
public class CheckHistoryRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String cuid;

    @ApiModelProperty(value = "外键")
    private String puid;

    @ApiModelProperty(value = "检测单位")
    private String checker;

    @ApiModelProperty(value = "检测时间")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "检测结果")
    private String checkRes;

    @ApiModelProperty(value = "是否合格")
    private String isPass;

    @ApiModelProperty(value = "注释")
    private String mark;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
